package com.qf.model;

import java.math.BigDecimal;

public class UserCard {
    private String cid;
    private String bankname;
    private BigDecimal money;
    private String password;
    private String cardtype;
    private int uid;

    public UserCard() {
    }

    public UserCard(String cid, String bankname, BigDecimal money, String password, String cardtype, int uid) {
        this.cid = cid;
        this.bankname = bankname;
        this.money = money;
        this.password = password;
        this.cardtype = cardtype;
        this.uid = uid;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCardtype() {
        return cardtype;
    }

    public void setCardtype(String cardtype) {
        this.cardtype = cardtype;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "UserCard{" +
                "cid='" + cid + '\'' +
                ", bankname='" + bankname + '\'' +
                ", money=" + money +
                ", password='" + password + '\'' +
                ", cardtype='" + cardtype + '\'' +
                ", uid=" + uid +
                '}';
    }
}
